package org.vectrics.common.view;

import org.apache.ecs.html.Input;

public class HtmlFormEditRow extends HtmlFormRow {
	
	private Input editBox = new Input();
	
	public HtmlFormEditRow(HtmlForm form, String paramName, String editBoxClass, boolean required) {
		super(form, paramName, required);
		this.editBox.setName(paramName);
		this.editBox.setID(paramName);
		this.editBox.setClass(editBoxClass);
		this.getValueDiv().addElement(this.editBox);
	}

	public Input getEditBox() {
		return(this.editBox);
	}
	
}
